namespace Admin.NET.Plugin.ViewFace;

/// <summary>
/// 人脸识别菜单表种子数据
/// </summary>
public class SysMenuSeedData : ISqlSugarEntitySeedData<SysMenu>
{
    /// <summary>
    /// 种子数据
    /// </summary>
    /// <returns></returns>
    public IEnumerable<SysMenu> HasData()
    {
        return new[]
        {
            new SysMenu{ Id=1330000000000, Pid=0, Title="人脸识别", Path="/viewface", Name="viewface", Component="/viewface/index", Icon="layui-icon layui-icon-auz", Type=MenuTypeEnum.Dir, CreateTime=DateTime.Parse("2022-02-10 00:00:00"), OrderNo=10000 },
            new SysMenu{ Id=1330000000001, Pid=1330000000000, Title="人脸检测", Path="/viewface/detect", Name="detect", Component="/viewface/detect", Icon="ele-Help", Type=MenuTypeEnum.Menu, CreateTime=DateTime.Parse("2022-02-10 00:00:00"), OrderNo=2000 },
            new SysMenu{ Id=1330000000002, Pid=1330000000000, Title="人脸对比", Path="/viewface/match", Name="match", Component="/viewface/match", Icon="ele-Help", Type=MenuTypeEnum.Menu, CreateTime=DateTime.Parse("2022-02-10 00:00:00"), OrderNo=2000 },
            new SysMenu{ Id=1330000000003, Pid=1330000000000, Title="人脸搜索与库管理", Path="/viewface/search", Name="search", Component="/viewface/search", Icon="ele-Help", Type=MenuTypeEnum.Menu, CreateTime=DateTime.Parse("2022-02-10 00:00:00"), OrderNo=2000 },
        };
    }
}